package com.hlf.modules.merchant.bank.entity;

import com.hlf.modules.sys.entity.File;

import java.util.Date;

public class BankCard {
	private Long id;

	private Long userId;

	private Integer branchBankId;

	private Long province;

    private Long city;

    private Long district;
    
    private String bankName;

    private String branchBankName;

    private String cnapsCode;
	
	private String cardBin;

	private String accountName;

	private String idCard;

	private String mobilePhone;

	private String cardNo;

	private Integer type;

	private String remarks;

	private Long insertBy;

	private Date insertDate;

	private Long lastUpdateBy;

	private Date lastUpdateDate;

	private Byte delFlag;

	private File bankCardImgFile;// 银行卡照片

	private Long storeId;

	public Long getStoreId() {
		return storeId;
	}

	public void setStoreId(Long storeId) {
		this.storeId = storeId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getBranchBankId() {
		return branchBankId;
	}

	public void setBranchBankId(Integer branchBankId) {
		this.branchBankId = branchBankId;
	}

	public Long getProvince() {
		return province;
	}

	public void setProvince(Long province) {
		this.province = province;
	}

	public Long getCity() {
		return city;
	}

	public void setCity(Long city) {
		this.city = city;
	}

	public Long getDistrict() {
		return district;
	}

	public void setDistrict(Long district) {
		this.district = district;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBranchBankName() {
		return branchBankName;
	}

	public void setBranchBankName(String branchBankName) {
		this.branchBankName = branchBankName;
	}

	public String getCnapsCode() {
		return cnapsCode;
	}

	public void setCnapsCode(String cnapsCode) {
		this.cnapsCode = cnapsCode;
	}

	public String getCardBin() {
		return cardBin;
	}

	public void setCardBin(String cardBin) {
		this.cardBin = cardBin == null ? null : cardBin.trim();
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName == null ? null : accountName.trim();
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard == null ? null : idCard.trim();
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo == null ? null : cardNo.trim();
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks == null ? null : remarks.trim();
	}

	public Long getInsertBy() {
		return insertBy;
	}

	public void setInsertBy(Long insertBy) {
		this.insertBy = insertBy;
	}

	public Date getInsertDate() {
		return insertDate;
	}

	public void setInsertDate(Date insertDate) {
		this.insertDate = insertDate;
	}

	public Long getLastUpdateBy() {
		return lastUpdateBy;
	}

	public void setLastUpdateBy(Long lastUpdateBy) {
		this.lastUpdateBy = lastUpdateBy;
	}

	public Date getLastUpdateDate() {
		return lastUpdateDate;
	}

	public void setLastUpdateDate(Date lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}

	public Byte getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

	public File getBankCardImgFile() {
		return bankCardImgFile;
	}

	public void setBankCardImgFile(File bankCardImgFile) {
		this.bankCardImgFile = bankCardImgFile;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "BankCard [id=" + id + ", userId=" + userId + ", branchBankId=" + branchBankId + ", cardBin=" + cardBin
				+ ", accountName=" + accountName + ", idCard=" + idCard + ", mobilePhone=" + mobilePhone + ", cardNo="
				+ cardNo + ", type=" + type + ", remarks=" + remarks + ", insertBy=" + insertBy + ", insertDate="
				+ insertDate + ", lastUpdateBy=" + lastUpdateBy + ", lastUpdateDate=" + lastUpdateDate + ", delFlag="
				+ delFlag + ", bankCardImgFile=" + bankCardImgFile + "]";
	}
}